package com.my.chapter7;
import net.mindView.extend.*;

public class practice15 {
    public static void main(String[] args) {
        Top t =new Top();
        //t.display();
        Toplow l = new Toplow();
        l.rollup();
    }
}

class Toplow extends Top{
    void rollup(){
        display();
        System.out.println("rollup");
    }
}